
// 记得修改自己的appkey

MacPlayer.Html = '<iframe id="playerCnt" width="90%" frameborder="0" allowfullscreen src="" ></iframe>';
MacPlayer.Show();
var timeout = 0;
var playerInterval = setInterval(function() {
	timeout += 1;
	if(document.getElementById('playerCnt')) {
		document.getElementById('playerCnt').style.height = MacPlayer.Height + 'px';
		document.getElementById('playerCnt').src = 'http://cytron.cdn.videojj.com/latest/player.iframe.html?appkey=rJ9pTC0Xx&video=' + MacPlayer.PlayUrl;
		clearInterval(playerInterval);
	}
	if (timeout >= 5) {
		clearInterval(playerInterval);
	}
}, 500);
